﻿using Leafing.Data.Definition;

namespace DBEntryHelper.Entity
{

    [Serializable]
	[DbTable("xg_mat")]
	public class XG_MAT : IDbObject
	{
		[Length(10)] public string? Id { get; set; }
		[AllowNull][Length(7)] public string? Mat_Code { get; set; }
		[AllowNull][Length(15)] public string? Mat_Name { get; set; }
		[AllowNull][Length(10)] public string? Specs { get; set; }
		[AllowNull][Length(10)] public string? Model { get; set; }
		[AllowNull][Length(5)] public string? Unit { get; set; }
		[AllowNull][Length(5)] public string? Unit1 { get; set; }
		[AllowNull][Length(10)] public string? Mat_Type { get; set; }
		[AllowNull][Length(10)] public string? Mat_Group_Code { get; set; }
		[AllowNull][Length(10)] public string? Mat_Group_Name { get; set; }
		public int? OrderNumber { get; set; }
		[AllowNull][Length(12)] public string? LevelCode { get; set; }
		public int? ParentId { get; set; }
		public int? State { get; set; }
		[AllowNull][Length(63)] public string? Remark { get; set; }
		[AllowNull][Length(5)] public string? Creation_User { get; set; }
		public DateTime? CreationTime { get; set; }
		public DateTime? LastModificationTime { get; set; }
	}

}
